﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_deal.aspx.cs" Inherits="Com.CMS263.Web.manage.edit_deal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="style/main.css" rel="stylesheet" type="text/css" />
    <link href="common/validator.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="../js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" language="javascript" src="../js/ui.core.js"></script>
    <link href="themes/base/ui.all.css"rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="../js/ui.datepicker.js"></script>
    
    <script language="javascript" type="text/javascript">
    
    $(function() {
        //点输入框是出时间
    $("#txtAddDate").datepicker({
            closeText: '关闭',
            prevText: '&#x3c;上月',
            nextText: '下月&#x3e;',
            currentText: '今天',
            monthNames: ['一月', '二月', '三月', '四月', '五月', '六月',
		'七月', '八月', '九月', '十月', '十一月', '十二月'],
            monthNamesShort: ['一', '二', '三', '四', '五', '六',
		'七', '八', '九', '十', '十一', '十二'],
            dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
            dayNamesShort: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            dateFormat: 'yy-mm-dd', firstDay: 1,
            isRTL: false
        });

        
    })
    
    </script>
    <script language="javascript" type="text/javascript">
        function checkFormat(obj) {
            if (!isNaN(obj)) {
                alert("请输入数字");
                obj.foucs();
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                        
                        
    <div>
        <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
            <tr>
                <td height="23" colspan="2" class="table_2">
                    操作用户交易信息
                </td>
            </tr>
            
        </table>
        <div runat="server" id="divFirst">
            <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
            <tr>
                <td height="23" colspan="2" class="table_2">
                    修改
                </td>
            </tr>
            <tr>
                    <td class="tdleft">
                        用户名:
                        
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtUsreName" runat="server" Width="550px"></asp:TextBox><span style="color:Red">*</span>
                    </td>
                </tr>
                 <tr>
                    <td class="tdleft">
                        vip编号:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtUserId" runat="server" Width="550px"></asp:TextBox><span style="color:Red">*</span>
                    </td>
                </tr>
                
                <tr>
                    <td class="tdleft">
                        添加时间:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtAddDate" runat="server" Width="550px"></asp:TextBox><span style="color:Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        交易金额:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtDealMoney" runat="server" Width="550px" 
                            ontextchanged="txtDealMoney_TextChanged"></asp:TextBox><span style="color:Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        产品:
                    </td>
                    <td class="tdside">
                        <asp:DropDownList ID="DDLProduct" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="DDLProduct_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        当日净值:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtDayValue" onblur="checkFormat(this)" runat="server" Width="550px"></asp:TextBox><span style="color:Red">*</span>
                    </td>
                </tr>
                
                <tr>
                    <td class="tdleft">
                        累计成本:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtTotalMoney" runat="server" Width="550px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        交易份额:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtDealPart" runat="server" Width="550px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        累计份额:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtTotalPart" runat="server" Width="550px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        当日资产:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtMaxMoney" runat="server" Width="550px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        参考收益率:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtAdd" runat="server" Width="250px"></asp:TextBox>请至少保留四位小数,不够可补0
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                        备注:
                    </td>
                    <td class="tdside">
                        <asp:TextBox ID="txtRemark" runat="server" Width="550px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tdleft">
                    </td>
                    <td class="tdside">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
                        <asp:Button ID="btnGetValue" runat="server" Text="计算" Visible="false" 
                            onclick="btnGetValue_Click" />
                    </td>
                </tr>
            </table>
        </div>
         
         
    </div>
    </form>
</body>
</html>
